package xyz.yuanjilu.service;

import xyz.yuanjilu.entity.GroupInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 群组管理
 * 
 * @author CHENJUNFEI
 * @email kkomge@qq.com
 * @date 2017-07-19 14:54:21
 */
public interface GroupInfoService {
	
	GroupInfoEntity queryObject(Long id);
	
	List<GroupInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(GroupInfoEntity groupInfo);
	
	void update(GroupInfoEntity groupInfo);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
	
	void bindWebsite(String groupId,String[] websiteIds);
	
	void bindSales(String groupId,String[] salesIds);
	
	String[] getKeywordsBysales(Long Id);

	String getKeywordBysales(Long Id);
}
